package com.ruoyi.pos.domain.dto.shift.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 交班报表请求DTO
 * 
 * @author ruoyi
 * @date 2025-01-30
 */
@Data
@ApiModel(description = "交班报表请求")
public class ShiftReportRequest {

    @ApiModelProperty(value = "营业员登录号", required = true)
    @NotBlank(message = "营业员登录号不能为空")
    private String cashierCode;

    @ApiModelProperty(value = "POS机号", required = true)
    @NotBlank(message = "POS机号不能为空")
    private String deviceCode;

    @ApiModelProperty(value = "报表日期")
    private Date reportDate;

    @ApiModelProperty(value = "班次开始时间")
    private Date shiftStartTime;

    @ApiModelProperty(value = "班次结束时间")
    private Date shiftEndTime;

    @ApiModelProperty(value = "报表类型：SHIFT-班报，DAILY-日报")
    private String reportType;
}
